package com.itkeke.WEB.controller;

import com.itkeke.WEB.dao.impl.UserDaoImpl;
import com.itkeke.WEB.service.UserService;
import com.itkeke.WEB.service.impl.UserServiceImpl;
import org.junit.Test;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class UserController extends HttpServlet {
    @Test
    public void test(){
        UserService userService = new UserServiceImpl();
        userService.findUser();
    }

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        super.doGet(req, resp);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        super.doPost(req, resp);
    }
}
